<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>留言</title>
    <style type="text/css">
        tr:nth-child(2n) td{padding-bottom: 20px}
        .img .imgg{
            margin-left: 20px;
        }
        .img .imgg:first-child{
            margin-left: 0px;
        }
    </style>
</head>
<body>
<div class="main-title">
    <h2>留言信息</h2>
</div>

<form class="form-horizontal">
    <div class="form-item">
        <label class="item-label">留言信息</label>
        <table border="1" width="1800" cellspacing="0">
            <tr style="color:green;text-align: center;">
                <th width="10%">所属社区</th>
                <td width="20%">名字</td>
                <td width="20%">电话</td>
                <td width="10%">留言时间</td>
                <td width="40%">内容</td>
            </tr>

            <tr style="color:grey;text-align: center;">
                <td>{$data.community_name}</td>
                <td>{$data.name}</td>
                <td>{$data.tel}</td>
                <td>{$data.create_time|date='Y-m-d',###}</td>
                <td>{$data.content|default='没有内容哦'}</td>
            </tr>
        </table>
        <div>
            <p>上传图片</p>
            <div class="img">
                <volist name="data['imgs']" id="val">
                    <img class="imgg" src="/Uploads/phone/{$val}" style="width: 200px;height: 200px;"/>
                </volist>
            </div>
        </div>
    </div>

</form>
</body>
</html>

